function faces_array(){
	var faces_array = [
                    ["resources/images/face/emo_001_2x.png",'[憨笑]','憨笑'],
                    ["resources/images/face/emo_002_2x.png",'[微笑]','微笑'],
                    ["resources/images/face/emo_003_2x.png",'[大笑]','大笑'],
                    ["resources/images/face/emo_004_2x.png",'[可耐]','可耐'],
                    ["resources/images/face/emo_005_2x.png",'[淘气]','淘气'],
                    ["resources/images/face/emo_006_2x.png",'[色色]','色色'],
                    ["resources/images/face/emo_007_2x.png",'[飞吻]','飞吻'],
                    ["resources/images/face/emo_008_2x.png",'[亲]','亲'],
                    ["resources/images/face/emo_009_2x.png",'[吃惊]','吃惊'],
                    ["resources/images/face/emo_010_2x.png",'[安逸]','安逸'],
                    ["resources/images/face/emo_011_2x.png",'[呲牙]','呲牙'],
                    ["resources/images/face/emo_012_2x.png",'[鬼脸]','鬼脸'],	
                    ["resources/images/face/emo_013_2x.png",'[吐舌]','吐舌'],
                    ["resources/images/face/emo_014_2x.png",'[沮丧]','沮丧'],
                    ["resources/images/face/emo_015_2x.png",'[坏笑]','坏笑'],
                    ["resources/images/face/emo_016_2x.png",'[汗]','汗'],
                    ["resources/images/face/emo_017_2x.png",'[闭目]','闭目'],
                    ["resources/images/face/emo_018_2x.png",'[伤心]','伤心'],
                    ["resources/images/face/emo_019_2x.png",'[痛苦]','痛苦'],
                    ["resources/images/face/emo_020_2x.png",'[诧异]','诧异'], 
	               	["resources/images/face/emo_021_2x.png",'[略汗]','略汗'],
	               	["resources/images/face/emo_022_2x.png",'[惊吓]','惊吓'],
	               	["resources/images/face/emo_023_2x.png",'[哀怨]','哀怨'],
	               	["resources/images/face/emo_024_2x.png",'[滴泪]','滴泪'],
	               	["resources/images/face/emo_025_2x.png",'[痛哭]','痛哭'],
	               	["resources/images/face/emo_026_2x.png",'[哇哇哭]','哇哇哭'],
	               	["resources/images/face/emo_027_2x.png",'[晕掉]','晕掉'],
	               	["resources/images/face/emo_028_2x.png",'[尖叫]','尖叫']
	          ];
	return faces_array;
	
}

function getFace(){	
	$("#face_box").toggle();
	var faces_is_null = $("#faceImg").html().replace(/\s/ig,'').length;
	if(faces_is_null ==0){
		 var faces = faces_array();
		 var content = "";
			for(var i = 0; i < faces.length; i++){
				content += "<li><a href='javascript:void(0)' onclick=face('"+faces[i][1]+"')><img width='35' height='35' src='"+faces[i][0]+"' title='"+faces[i][2]+"'  /></a></li>";
			}
			$("#faceImg").html(content);
	}
}
  
